<!DOCTYPE html>
<html class=" js csstransforms3d"><head>
	<meta charset="utf-8">
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>文章发布</title>
	<link rel="stylesheet" href="/static/css/base.css">
	<link rel="stylesheet" href="/static/css/page.css">

	<script type="text/javascript" src="/static/js/jquery.min.js"></script>
	<script type="text/javascript" src="/static/js/main.js"></script>
	<script type="text/javascript" src="/static/js/modernizr.js"></script>

</head>

<body style="background: #f6f5fa;">

	<!--content S-->
	<div class="super-content RightMain" id="RightMain">
		
		<!--header-->
		<div class="superCtab">

			
			<div class="ctab-Main">
				<div class="ctab-Main-title">
					<ul class="clearfix">
						{% for product in products %}
                           <li><a href="{% url 'App:main' cid=product.cid %}">{{ product.pname }}</a></li>
                        {% endfor %}
                      <script>
                          $(".ctab-Main-title li").eq({{ pos }}).addClass('cur')

                      </script>
					</ul>
				</div>
				
				<div class="ctab-Mian-cont">
					<div class="Mian-cont-btn clearfix">
						<div class="operateBtn">
							<a href="{% url 'ArticleManage:publish' cid=cid %}" class="greenbtn publish">发布论文</a>

						</div>
						<div class="searchBar">
                          <form action="{% url 'App:main' cid=cid%}" method="post">
                                {% csrf_token %}
                                <input type="hidden" name="cid" value="{{ cid }}">
                                <input type="text" name="keyword" value="" class="form-control srhTxt" placeholder="输入标题关键字搜索">
                                <input type="submit" class="srhBtn" value="">
                            </form>
						</div>


                        <div style="position: absolute; top: 17px; left: 600px;">
                          <form action="{% url 'App:main' cid=cid %}" method="post">
                                {% csrf_token %}
                                <input type="hidden" name="cid" value="{{ cid }}">
                                <input type="text" name="download1"style="width: 70px" placeholder="最小值">
                                <input type="text" name="download2" style="width: 70px" placeholder="最大值">
                                <input type="submit" value="">

                            </form>
						</div>

					</div>

					<div class="Mian-cont-wrap">
						<div class="defaultTab-T">
							<table border="0" cellspacing="0" cellpadding="0" class="defaultTable">
								<tbody><tr><th class="t_1">文章ID</th><th class="t_3">文章标题</th><th class="t_3">发布时间</th><th class="t_3">下载量</th><th class="t_3">作者</th><th class="t_4">操作</th></tr>
							</tbody></table>
						</div>
						<table border="0" cellspacing="0" cellpadding="0" class="defaultTable defaultTable2">
							<tbody>
							{% for article  in articles %}
							<tr>
								<td class="t_1">{{ article.aid }}</td>
                                <td class="t_3"><a href="#">{{ article.title }}</a></td>
                                <td class="t_3">{{ article.time }}</td>
			                    <td class="t_3">{{ article.download }}</td>
                                <td class="t_3">{{ article.author }}</td>
								<td class="t_4"><div class="btn">

                                   <a href="{% url 'ArticleManage:display' aid=article.aid %}" class="modify">阅读</a>
							</tr>
                            {% endfor %}

						</tbody></table>
                    <div class="pageSelect">
							<span>共 <b>{{ paginator.count }}</b> 条</span>

					</div>

				</div>
			</div>
		</div>
		
	</div>


    </div>
</body>
</html>